package examlhp.one;

public class main {
    public static void main(String[] args) {
        MyTherd th1 = new MyTherd();
        MyTherd th2 = new MyTherd();
        MyTherd th3 = new MyTherd();
        Thread t1 = new Thread(th1);
        Thread t2 = new Thread(th2);
        Thread t3 = new Thread(th3);
        t1.setPriority(1);
        t2.setPriority(10);
        t3.setPriority(5);
        t1.start();
        t2.start();
        t3.start();
    }
}
